package com.iotechn.unimall.data.dto;

import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.core.entiy.SuperDTO;
import com.dobbinsoft.fw.core.annotation.param.NotNull;
import lombok.Data;


@Data
@ApiEntity(description = "协会传输模型")
public class AssociationDTO extends SuperDTO {

    @NotNull(message = "协会不能为空")
    @ApiField(description = "协会名称")
    private String name;

    @NotNull(message = "负责人不能为空")
    @ApiField(description = "负责人")
    private String principal;

    @NotNull(message = "协会不能为空")
    @ApiField(description = "联系人")
    private String contact;

    @NotNull(message = "协会不能为空")
    @ApiField(description = "联系电话")
    private String phone;

    @NotNull(message = "协会不能为空")
    @ApiField(description = "地址")
    private String address;

    @ApiField(description = "备注")
    private String remark;

    @NotNull(message = "协会不能为空")
    @ApiField(description = "成立时间")
    private String dateOfEstablishment;

    @NotNull(message = "协会不能为空")
    @ApiField(description = "简介")
    private String introduction;

    @ApiField(description = "官网地址")
    private String url;

    @ApiField(description = "创建人")
    private String gmtCreateUser;

    @ApiField(description = "logo图片路径")
    private String logoUrl;
}
